package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.InformationMapper;
import com.rongke.model.Information;
import com.rongke.service.InformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @InformationServiceImpl
 * @ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class InformationServiceImpl extends ServiceImpl<InformationMapper, Information> implements InformationService {
    @Autowired
    private InformationMapper informationMapper;

    public List<Information> selectInfolist(Map map){
        return informationMapper.selectInfolist(map);
    }
    public Integer selectInfolistCount(Map map){
        return informationMapper.selectInfolistCount(map);
    }

}
